module.exports = ({ $database }) => {
  return {
    index: async () => {
      // TODO
      return {
        title: 'Hello Koa 2!',
        content: await $database.runSql('SELECT * FROM users'),
      }
    },
  }
}
